package com.bysj.lms.mapper;

import com.bysj.lms.pojo.entity.RoleUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xiaojiakai
 * @since 2022-02-04
 */
@Repository
public interface RoleUserMapper extends BaseMapper<RoleUser> {

    int adds(@Param("roleIds") List<Integer> roleIds, @Param("uid") String uid);

    int remove(@Param("roleIds") List<Integer> roleIds,@Param("uid")String uid);
}
